<template>
    <div class="favorites">
        <el-tabs v-model="activeName" type="card" >
            <el-tab-pane label="所有" name="first">
                <allfavorites></allfavorites>
            </el-tab-pane>
            <el-tab-pane label="最近三天" name="second">
                <recentdays></recentdays>
            </el-tab-pane>
            <el-tab-pane label="最近一周" name="third">
                <recentweeks></recentweeks>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
    import allfavorites from '@/components/usermanage/favorites/allfavorites'
    import recentdays from '@/components/usermanage/favorites/recentdays'
    import recentweeks from '@/components/usermanage/favorites/recentweeks'

    export default {
        name: 'favorites',
        components: {
            allfavorites, recentdays, recentweeks
        },
        data() {
            return {
                activeName: 'first',
                tableData:[]

            }
        },
        methods:{

        }
    }
</script>
